using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Order.Domain.OrderClass
{
    /// <summary>
    /// 住宿记录表
    /// </summary>

    public  class AccommodationRecord
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsIdentity =true,IsPrimaryKey =true)]
        public int Id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int Uid {  get; set; }
        /// <summary>
        /// 房间Id
        /// </summary>
        public int RoomId {  get; set; }
        /// <summary>
        /// 入住时间
        /// </summary>
        public DateTime EntyTime {  get; set; }
        /// <summary>
        /// 离开时间
        /// </summary>
        public DateTime LeaveTime {  get; set; }
        /// <summary>
        /// 实际金额
        /// </summary>
        public decimal ActualPay {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)")]
        public string Remark {  get; set; }
        /// <summary>
        /// 住宿状态
        /// </summary>
        public int AccommodStatus { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }

}
